#include <iostream>
#include <thread>

using namespace std;

/**
 * Commande pour la compilation :
 * g++ -std=c++0x -o hello hello.cpp -lpthread
 */

static void hello() {
	cout << "Hello concurrent world" << endl;
}

int main(int argc, char** argv) {
	thread t(hello);
	t.join();
	cout << "Number of concurrency threads : "
		<< thread::hardware_concurrency() << endl;
	return 0;
}

